package org.jeecg.modules.app.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author by Administrator
 * @desc:
 * @since 2024-09-28 星期六 15:55:39
 */
@Data
public class FeedbackReq implements Serializable {

    @Pattern(regexp = "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$", message = "common.email.error.message")
    private String email;

    @NotBlank(message="feedback.problem.blank.message")
    private String problem;

    @NotBlank(message="common.default.param.miss.message")
    private String appCode;

    @NotBlank(message="common.default.param.miss.message")
    private String platformType;

    @NotBlank(message="feedback.captcha.blank.message")
    private String captcha;

    @NotBlank(message="common.default.param.miss.message")
    private String checkKey;

}
